/**
 * Created by Administrator on 2017/8/17.
 */
function getTimer (){
    return (new Date()).getTime();
}
console.log(getTimer())
window.onload = function (){
    console.log(getTimer())
    console.log('window onload')
}

document.addEventListener("DOMContentLoaded", function(event) {
    console.log(getTimer())
    console.log("DOM fully loaded and parsed");
});